/*
 * @Author: your name
 * @Date: 2021-12-27 11:48:14
 * @LastEditTime: 2021-12-28 11:58:19
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \shop\src\api\product\product.js
 */
//引入封装的请求服务
import { GET, POST, UPLOAD } from '@/services/request.js'

export default {
    // 首页
    productIndex(data = {}){
        return POST({
            url: '/product/product/index',
            params: data
        })
    },
    // 产品页面
    productType(data = {}){
        return POST({
            url: '/product/product/type',
            params: data
        })
    },
    // 产品详情
    productDeatil(data = {}){
        return POST({
            url: '/product/product/detail',
            params: data
        })
    }
}
